@import "@/theme/index.less";

.map-layout {
  width: 100%;
  height: 100%;
  position: relative;
  top: -7rem;

  &::after,
  &::before {
    clear: both;
  }

  & > .left {
    position: absolute;
    left: 40rem;
    top: 20rem;
    overflow: hidden;
    width: 390rem;
  }

  & > .right {
    position: absolute;
    z-index: 1;
    right: 20rem;
    overflow: hidden;
    width: 391rem;
    top: 20rem;
  }

  .center {
    z-index: 1;
    position: absolute;
    bottom: 18rem;
    left: 50%;
    transform: translateX(-50%);

    .scroll-table-box {
      width: 100%;
      position: relative;
      z-index: 1;
      padding: 0 40rem;
    }
  }

  .flex-box {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
  }

  .scalable-card {
    width: 100%;
    height: 100%;

    .chart-wrapper {
      width: 100%;
      height: 100%;
    }
  }

  .flex-box-fixed {
    flex-shrink: 0;
  }

  .flex-box-scalable {
    flex-grow: 1;
    flex-basis: 200rem;
    padding-bottom: 40rem;
  }

  .reload-btn {
    width: 40rem;
    height: 40rem;
    border-radius: 4rem;
    position: absolute;
    bottom: 16%;
    right: 28%;
    border: 2rem solid @primary;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;

    .anticon-reload {
      color: @primary;
      font-size: 24rem;
    }
  }

  .map-point {
    width: 20rem;
    height: 20rem;
    border-radius: 10rem;
    background-color: @primary;
    border: 1rem solid #ffffff;
    opacity: 0.9
  }

  .map-fullscreen-box {
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 0;
    left: 0;
    top: 0;
    padding: 0;
    background: transparent;

    .cy-map-content {
      padding: 0 !important;
    }
  }

}



